package com.jiaxu.wifimusic;

import android.app.ListActivity;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.util.Log;

import java.util.List;


/**
 * Created by jiaxu on 2016-3-25.
 */
public class PlayList extends ListActivity {
    List<MusicInfo> playList;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getListView().setBackgroundResource(R.drawable.bg4);
        playList = MainActivity.playList;
        PlayListAdapter playListAdapter = new PlayListAdapter(this,playList);
        setListAdapter(playListAdapter);Log.i(MainActivity.TAG, "onCreate: ");

    }
}
